package com.cyl.XmlDemo.entity;

import java.io.Serializable;

import org.hibernate.validator.constraints.NotEmpty;


/**
 * 注册信息实体
 * @author tyuio
 *
 */
public class Register implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1634957753534754960L;
	
//	@NotEmpty(message="账号不能为空")
	private String username;
//	@NotEmpty(message="密码不能为空")
	private String password;
//	@NotEmpty(message="密码不能为空")
	private String repassword;
	
	private String name;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getRepassword() {
		return repassword;
	}

	public void setRepassword(String repassword) {
		this.repassword = repassword;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
